package org.example.erpapiservicespringpgimpl.Dao;

import org.example.erpapicommon.Util.Param.SupplierQueryParam;
import org.example.erpapiservicespringpgimpl.entity.SupplierEntity;
import org.seasar.doma.Dao;
import org.seasar.doma.Select;
import org.seasar.doma.boot.ConfigAutowireable;
import org.seasar.doma.jdbc.SelectOptions;

import java.util.List;
@ConfigAutowireable
@Dao
public interface SupplierDao {
    @Select
    List<SupplierEntity> findByProductId(Integer productId);
    @Select
    List<SupplierEntity> pageSupplier(SupplierQueryParam param, SelectOptions options);
}
